using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class Aspnet_WebEvent_EventsEntity:AF_ORM.CORE.BaseEntity
    {
         public Aspnet_WebEvent_EventsEntity()
         {
             tableName = "Aspnet_WebEvent_Events";


			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","ApplicationPath","ApplicationPath","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","ApplicationVirtualPath","ApplicationVirtualPath","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","Details","Details","string",1073741823,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventCode","EventCode","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventDetailCode","EventDetailCode","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventId","EventId","string",32,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventOccurrence","EventOccurrence","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventSequence","EventSequence","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventTime","EventTime","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventTimeUtc","EventTimeUtc","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","EventType","EventType","string",256,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","ExceptionType","ExceptionType","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","MachineName","MachineName","string",256,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","Message","Message","string",1024,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Aspnet_WebEvent_Events","RequestUrl","RequestUrl","string",1024,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_ApplicationPath;
		 protected string m_ApplicationVirtualPath;
		 protected string m_Details;
		 protected int m_EventCode;
		 protected int m_EventDetailCode;
		 protected string m_EventId;
		 protected double m_EventOccurrence;
		 protected double m_EventSequence;
		 protected DateTime m_EventTime;
		 protected DateTime m_EventTimeUtc;
		 protected string m_EventType;
		 protected string m_ExceptionType;
		 protected string m_MachineName;
		 protected string m_Message;
		 protected string m_RequestUrl;

		 public string ApplicationPath

          { 
                get { 
                    return m_ApplicationPath;}

                set{m_ApplicationPath=value;

                    GetField("ApplicationPath").Set();
                    GetField("ApplicationPath").IsNull=(value == null);           
                    }
          }
		 public string ApplicationVirtualPath

          { 
                get { 
                    return m_ApplicationVirtualPath;}

                set{m_ApplicationVirtualPath=value;

                    GetField("ApplicationVirtualPath").Set();
                    GetField("ApplicationVirtualPath").IsNull=(value == null);           
                    }
          }
		 public string Details

          { 
                get { 
                    return m_Details;}

                set{m_Details=value;

                    GetField("Details").Set();
                    GetField("Details").IsNull=(value == null);           
                    }
          }
		 public int EventCode

          { 
                get { 
                    return m_EventCode;}

                set{m_EventCode=value;

                    GetField("EventCode").Set();
                    GetField("EventCode").IsNull=(value == null);           
                    }
          }
		 public int EventDetailCode

          { 
                get { 
                    return m_EventDetailCode;}

                set{m_EventDetailCode=value;

                    GetField("EventDetailCode").Set();
                    GetField("EventDetailCode").IsNull=(value == null);           
                    }
          }
		 public string EventId

          { 
                get { 
                    return m_EventId;}

                set{m_EventId=value;

                    GetField("EventId").Set();
                    GetField("EventId").IsNull=(value == null);           
                    }
          }
		 public double EventOccurrence

          { 
                get { 
                    return m_EventOccurrence;}

                set{m_EventOccurrence=value;

                    GetField("EventOccurrence").Set();
                    GetField("EventOccurrence").IsNull=(value == null);           
                    }
          }
		 public double EventSequence

          { 
                get { 
                    return m_EventSequence;}

                set{m_EventSequence=value;

                    GetField("EventSequence").Set();
                    GetField("EventSequence").IsNull=(value == null);           
                    }
          }
		 public DateTime EventTime

          { 
                get { 
                    return m_EventTime;}

                set{m_EventTime=value;

                    GetField("EventTime").Set();
                    GetField("EventTime").IsNull=(value == null);           
                    }
          }
		 public DateTime EventTimeUtc

          { 
                get { 
                    return m_EventTimeUtc;}

                set{m_EventTimeUtc=value;

                    GetField("EventTimeUtc").Set();
                    GetField("EventTimeUtc").IsNull=(value == null);           
                    }
          }
		 public string EventType

          { 
                get { 
                    return m_EventType;}

                set{m_EventType=value;

                    GetField("EventType").Set();
                    GetField("EventType").IsNull=(value == null);           
                    }
          }
		 public string ExceptionType

          { 
                get { 
                    return m_ExceptionType;}

                set{m_ExceptionType=value;

                    GetField("ExceptionType").Set();
                    GetField("ExceptionType").IsNull=(value == null);           
                    }
          }
		 public string MachineName

          { 
                get { 
                    return m_MachineName;}

                set{m_MachineName=value;

                    GetField("MachineName").Set();
                    GetField("MachineName").IsNull=(value == null);           
                    }
          }
		 public string Message

          { 
                get { 
                    return m_Message;}

                set{m_Message=value;

                    GetField("Message").Set();
                    GetField("Message").IsNull=(value == null);           
                    }
          }
		 public string RequestUrl

          { 
                get { 
                    return m_RequestUrl;}

                set{m_RequestUrl=value;

                    GetField("RequestUrl").Set();
                    GetField("RequestUrl").IsNull=(value == null);           
                    }
          }

}
}
